﻿using System.Runtime.Serialization;

namespace RockBus.DataContracts
{
    [DataContract(Namespace = StringConstants.RockBusNamespace)]
    public class TopicHeader
    {
        public TopicHeader()
        {
        }

        public TopicHeader(TopicInfo topicInfo)
        {
            this.TopicInfo = topicInfo;
        }

        public const string HeaderName = "TopicHeader";

        [DataMember]
        public TopicInfo TopicInfo { get; set; }
    }
}